import { Table, Button, Space } from 'antd';

export default function PurchaseReport() {
  const columns = [
    {
      title: '报告名称',
      dataIndex: 'name',
    },
    {
      title: '生成时间',
      dataIndex: 'date',
    },
    {
      title: '操作',
      render: () => (
        <Space>
          <Button type="link">查看详情</Button>
          <Button type="link" danger>删除</Button>
        </Space>
      ),
    },
  ];

  return (
    <div style={{ padding: 24 }}>
      <Button type="primary" style={{ marginBottom: 16 }}>生成采购报告</Button>
      <Table columns={columns} rowKey="id" />
    </div>
  );
}